import dataclasses as dc


class UserDTO:
    def __init__(self, id, ww):
        self.id = id
        self.ww = ww


def convert_to_user_dto(user):
    return UserDTO(id=user.id, ww=user.ww)
